const answerRoutes = [
    {
        name: 'answer',
        path: '/answer',
        component: () => import("@/views/answer/index.vue"),
        children: [
          {
            name: 'answer_list',
            path: '/answer_list',
            component: () => import("@/views/answer/answer_list.vue"),
            meta: {}
          },
          {
            name: 'answer_detail',
            path: '/answer_detail/:id',
            component: () => import("@/views/answer/detail.vue"),
            meta: {}
          },
          {
              name: 'answer_record',
              path: '/answer_record',
              component: () => import("@/views/answer/record.vue"),
              meta: {
                  requiresAuth: true // 是否需要判断是否登录
              }
          }
        ]
    }
];
export default answerRoutes;
